import java.util.Arrays;

public class Test9 {
    public static void main(String[] args) {
        char[] ar  = { 'a' , 'h' , 'e' , 'b' ,'c'};
        Arrays.sort(ar);
        System.out.println(Arrays.toString(ar));
    }
}
